package com.atguigu.dao;

import com.atguigu.pojo.TravelGroup;
import com.github.pagehelper.Page;

import java.util.List;
import java.util.Map;

public interface TravelGroupDao {

    void add(TravelGroup travelGroup);

    void add_group_item(Map map);

    Page<TravelGroup> findPageByQueryString(String queryString);

    TravelGroup getGroupById(Integer id);

    List<Integer> getItemById(Integer id);

    void edit(TravelGroup travelGroup);

    void del_group_item(Integer id);

    Integer get_Item_Group(Integer id);

    void delete(Integer id);

    List<TravelGroup> findAll();

    /*·······移动端方法*/
    List<TravelGroup> findTravelGroupByMapSetmealId(Integer setmealId);
}
